package de.tsajar.es.networking.messages;

import com.jme3.network.AbstractMessage;
import com.jme3.network.serializing.Serializable;

/**
 * Host accepts an EntitySet request and sets a global entitySetId for client's request
 * @author Eike Foede
 */
@Serializable
public class EntitySetResponseMessage extends AbstractMessage {

    //The host-side EntitySet id
    public long entitySetId;
    //The client-side request id
    public long requestId;

    public EntitySetResponseMessage() {
    }

    public EntitySetResponseMessage(long entitySetId, long requestId) {
	this.entitySetId = entitySetId;
	this.requestId = requestId;
    }
}
